package com.tbit.uqbike.constant;


import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;


/**
 * RabbitMQ 配置
 *
 * @author Leon
 * 2017年7月27日 下午2:25:09
 */
@Configuration
public class RabbitMQData {

    public static String queueName = "tbit_uqbike_web_manager";
    public static String routeKey = "tbit_uqbike_web_manager";

    @Value("${mq.queue.tbitUqbikeWebManager}")
    public void setQueueName(String queueNameInProperties) {
        queueName = queueNameInProperties;
    }

    @Value("${mq.key.tbitUqbikeWebManagerTestZzs}")
    public void setRouteKey(String routeKeyInProperties) {
        routeKey = routeKeyInProperties;
    }

}
